package com.hangzhou.xyj.net.request;

import com.google.gson.Gson;
import com.google.gson.JsonObject;
import com.hangzhou.xyj.net.request.base.BaseRequest;
import com.hangzhou.xyj.utils.constants.API;

/**
 * Created by yaohuix on 2016/5/9  15:45
 * <p/>
 * 说明：获取群-群成员 请求
 */
public class GetGroupMemberReq extends BaseRequest {

    public GetGroupMemberReq(String groupId) {
        JsonObject jsonObject = new JsonObject();
        jsonObject.addProperty("groupId", groupId);
        add("data", new Gson().toJson(jsonObject));
    }

    @Override
    public String getUrl() {
        return API.GET_GROUP_MEMBER;
    }
}
